﻿using System;
using System.IO;
using System.Data;
using System.Data.SqlClient;
using RRC.Settings;

public class SQLConnection
{
    public string SQLConnectionString = "";
    public string DB2ConnectionString = "";
    public string HRConnectionString = "";
    private string server = "";
    private string user = "";
    private string password = "";
    private string database = "";
    public SQLConnection()
	{
        INIFile inif = new INIFile("RRCConfig.ini");
        server = inif.GetValue("DatabaseServer", "Server", "");
        user = inif.GetValue("DatabaseServer", "User", "");
        password = inif.GetValue("DatabaseServer", "Password", "");
        database = inif.GetValue("DatabaseServer", "Database", "");
	}
}
